package com.xiaoxx.coin.po.res;

import com.alibaba.fastjson.annotation.JSONField;
import com.xiaoxx.coin.po.AccountAsset;
import com.xiaoxx.coin.po.AccountPositon;
import lombok.Data;

import java.util.List;

@Data
public class AccountBillingInfoResponse {
    @JSONField(name = "totalInitialMargin")
    private String totalInitialMargin; // 当前所需起始保证金总额

    @JSONField(name = "totalMaintMargin")
    private String totalMaintMargin; // 维持保证金总额

    @JSONField(name = "totalWalletBalance")
    private String totalWalletBalance; // 账户总余额

    @JSONField(name = "totalUnrealizedProfit")
    private String totalUnrealizedProfit; // 持仓未实现盈亏总额

    @JSONField(name = "totalMarginBalance")
    private String totalMarginBalance; // 保证金总余额

    @JSONField(name = "totalPositionInitialMargin")
    private String totalPositionInitialMargin; // 持仓所需起始保证金

    @JSONField(name = "totalOpenOrderInitialMargin")
    private String totalOpenOrderInitialMargin; // 当前挂单所需起始保证金

    @JSONField(name = "totalCrossWalletBalance")
    private String totalCrossWalletBalance; // 全仓账户余额

    @JSONField(name = "totalCrossUnPnl")
    private String totalCrossUnPnl; // 全仓持仓未实现盈亏

    @JSONField(name = "availableBalance")
    private String availableBalance; // 可用余额

    @JSONField(name = "maxWithdrawAmount")
    private String maxWithdrawAmount; // 最大可转出余额

    @JSONField(name = "assets")
    private List<AccountAsset> assets; // 资产列表

    @JSONField(name = "positions")
    private List<AccountPositon> positions; // 仓位信息
}
